import http from '@/utils/http';//导入接口域名列表
import host_one from "./host/host"
import host_one_go from "./host/host_go"
const request = {
    order_list(params, callback) {
        http.post(host_one + "/shoporderlist", params, callback)
    },
    cancel_order(params, callback) {
        http.post(host_one + "/shopordercancel", params, callback)
    },
    delete_order(params, callback) {
        http.post(host_one + "/shoporderdelete", params, callback)
    },
    detail_order(params, callback) {
        http.post(host_one + "/shoporderdetail", params, callback)
    },
    edit_order(params, callback) {
        http.post(host_one + "/shoporderupdate", params, callback)
    },
    edit_order_go(params, callback) {
      http.post(host_one_go + "/orderupdate", params, callback)
    },
}
export default request;
